package ua.com.alus.resvac.crm.domen.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * Resume Account details
 * Created by Usatov Alexey
 */
@Entity
@Table(name = "RESUME_ACCOUNT_DETAILS")
@NamedQueries(
        {
                @NamedQuery(name = ResumeAccountDetails.GET_RESUME_ACCOUNT_DETAILS,
                        query = "select r from ResumeAccountDetails r where accountUuid=:accountUuid")
        }
)
public class ResumeAccountDetails extends BaseEntity {
    public static final String GET_RESUME_ACCOUNT_DETAILS =
            "ua.com.alus.resvac.crm.domen.entities.ResumeAccountDetails.getResumeAccDetails";

    @Column(name = "FK_ACCOUNT_UUID")
    private String accountUuid;

    @Column(name = "FIRST_NAME")
    private String firstName;

    @Column(name = "LAST_NAME")
    private String lastName;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getAccountUuid() {
        return accountUuid;
    }

    public void setAccountUuid(String accountUuid) {
        this.accountUuid = accountUuid;
    }
}
